import Vue from 'vue'
import Router from 'vue-router'
import childA from '@/components/childA'
import childB from '@/components/childB'
import childC from '@/components/childC'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'childA',
      component: childA
    },
    {
      path: '/b',
      name: 'childB',
      component: childB
    },
    {
      path: '/c',
      name: 'childC',
      component: childC
    }
  ]
})
